import './assets/main.css'
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'; // 引入路由配置
import 'font-awesome/css/font-awesome.min.css';
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css' // 引入 Element Plus 的样式
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import global from './components/GoloBor.vue'

const app = createApp(App);
app.use(ElementPlus)
app.use(router);
app.mount('#app')
app.component('global', global)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}